summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-02-19 19:51:16 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-02-19 19:51:44 +0100
commit0d4dc8641c38c1b32bb49fb7965b276f2c3b6e21 (patch)
tree7f350a3d4e2cf51c65f80dc8c7ff22cdc0cfbc00
parent47c5c4536b2815b0d287d39338fc6b225d515165 (diff)
downloadChimère - projet Saclay-0d4dc8641c38c1b32bb49fb7965b276f2c3b6e21.tar.bz2
Chimère - projet Saclay-0d4dc8641c38c1b32bb49fb7965b276f2c3b6e21.zip
Fix "Read more" display
-rw-r--r--templates/chimere/detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html
index c6ea1b1..8c49fa4 100644
--- a/templates/chimere/detail.html
+++ b/templates/chimere/detail.html
@@ -18,8 +18,8 @@
{% if marker.end_date %} - {{marker.end_date|date:"D d M Y"}}</p>{% endif %}</span>
{% endif %}
{% if marker.description %}
- <div class='description description_short' id='description_short_{{marker.pk}}'>{{ marker.short_desc|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}{% if marker.description != marker.description_short%}...{%endif%}</div>
- {% if marker.description != marker.description_short%}
+ <div class='description description_short' id='description_short_{{marker.pk}}'>{{ marker.short_desc|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}{% if marker.description != marker.short_desc%}...{%endif%}</div>
+ {% if marker.description != marker.short_desc%}
<div id='description_long_{{marker.pk}}' class='description description_long'>{{ marker.description|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</div>
{% endif %}
{% endif %}